/**配置文件 */
const mysql = require("mysql");

//数据库配置
const Config = {
  //定义数据库连接地址
  sql: {
    //创建连接池
    connectionLimit: 15,
    host: "localhost",
    port: 3306,
    user: "root",
    password: "root123456",
    database: "apartments_for_the_elderly",
  },
  dbName: "admin",
  //本地地址
  http: "http://127.0.0.1:8080",
  //线上地址
  // http: 'http://47.113.203.96',
};

module.exports = Config;
